# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=libretro-vba-next
pkgver=0_git20200106
pkgrel=0
_commit="019132daf41e33a9529036b8728891a221a8ce2e"
pkgdesc="optimized port of VBA-M to Libretro"
url="https://github.com/libretro/vba-next"
arch="all"
license="GPL-2.0-only"
source="$pkgname-$_commit.tar.gz::https://github.com/libretro/vba-next/archive/$_commit.tar.gz"
builddir="$srcdir/vba-next-$_commit"
options="!check" # No tests

build() {
	make -f Makefile.libretro
}

package() {
	install -Dm644 vba_next_libretro.so "$pkgdir"/usr/lib/libretro/vba_next_libretro.so
}

sha512sums="7b99342cce7548e537a107c7060209195bb9bee6ba7b0b949a346356206d7152fdd4d61156087f2b6ea8b194d64b6f81e49753a42babf169a00789b220c26600  libretro-vba-next-019132daf41e33a9529036b8728891a221a8ce2e.tar.gz"
